package com.pp.pingpong;



public class Config {
	
	private String ipAddress = "";
	private String portNumber = "";
	private String nickName = ""; 	
    
    protected Config() {}
 
    private static class ConfigHolder { 
        private final static Config instance = new Config();
    }
 
    public static Config getInstance() {
        return ConfigHolder.instance;
    }    

	public String getIpAddress() {
		return ipAddress;
	}
	public void setIpAddress(String ipAddress) {
		this.ipAddress = ipAddress;
	}
	public String getPortNumber() {
		return portNumber;
	}
	public void setPortNumber(String portNumber) {
		this.portNumber = portNumber;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	
	
    
    
}